package com.smec.moblie.bean;

import java.io.Serializable;

/**
 * Created by sunyubo on 2017/12/12.
 */

public class LoginBackBean implements Serializable {


    /**
     * code : SUCCESS
     * userMsg : 用户不存在或者密码错误
     * data : {"token":"token值","userId":"工号","userName":"员工名","userRole":"员工所属角色,多个用逗号隔开"}
     */

    private String code;
    private String userMsg;
    private String errorUuid;
    /**
     * token : token值
     * userId : 工号
     * userName : 员工名
     * userRole : 员工所属角色,多个用逗号隔开
     */

    private LoginBean data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setUserMsg(String userMsg) {
        this.userMsg = userMsg;
    }

    public void setData(LoginBean data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getUserMsg() {
        return userMsg;
    }

    public LoginBean getData() {
        return data;
    }


    public String getErrorUuid() {
        return errorUuid;
    }

    public void setErrorUuid(String errorUuid) {
        this.errorUuid = errorUuid;
    }
}
